package com.tian.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 用户对应角色表表 UserRole
 *
 * @author zcx
 * @creatDate 2019-12-09 15:30:56
*/
public class UserRole {
	private static final long serialVersionUID = 1L;

	/** 用户编号*/
	private int userId;
	/** 角色编号*/
	private int roleId;


    /** 用户编号*/
	public void setUserId(int userId){
		this.userId = userId;
	}
    /** 用户编号*/
	public int getUserId(){
		return userId;
	}

    /** 角色编号*/
	public void setRoleId(int roleId){
		this.roleId = roleId;
	}
    /** 角色编号*/
	public int getRoleId(){
		return roleId;
	}


    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("roleId", getRoleId())
            .toString();
    }
}
